package com.jz.jingying.mapper.sqlServer;

import com.jz.jingying.bean.TZwtable;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zyl
 * @since 2019-03-20
 */
public interface TZwtableMapper extends BaseMapper<TZwtable> {
    @Select("SELECT COUNT(*) FROM T_ZWtable ")
    int selectCountTZwtable();

    List<TZwtable> selectTZwtable(@Param("pageSize") int pageSize, @Param("currentPage") int currentPage);

    List<TZwtable> selectZw(@Param("providerNo")String providerNo,@Param("code")String code);

    void saveZw(TZwtable zw);
    void updateZw(TZwtable zw);
}
